package com.wyy.designpatterns.factory;

public class SendFactory2 {
    public Sender produceMail(){  
        return new MailSender();  
    }  
      
    public Sender produceSms(){  
        return new SmsSender();  
    }  
}
